package com.zzq.demo.tio.common.bs;

import com.zzq.demo.tio.common.HelloPacket;
import org.tio.core.ChannelContext;

/**
 * @author : zhaoziqian
 * @description :
 * @date : 2019/10/24 10:34
 */
public interface BsHandler {

    /**
     * @param packet
     * @param channelContext
     * @return
     * @throws Exception
     */
    Object handler(HelloPacket packet, ChannelContext channelContext) throws Exception;
}
